import {post,get} from '@/utils/request.js';

export function loginWithPass(form){
  return post('/user/loginWithPass',form);
}
export function loginWithMsg(form){
  return post('/user/loginWithMsg',form);
}
export function getUserInfoByUid(uid){
  return get(`/user/getById/${uid}`);
}

export function getVerifyCode(val){
  return get(`/user/getVerifyCode/${val}`);
}

export function loginOut(val){
  return get(`/user/loginOut/${val}`);
}

export function verifyUserStatus(val){
  return get(`/user/getUserInfoByToken/${val}`);
}